package com.sen.gulimall.auth.feign;

import com.sen.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author Kisen
 * @email liuqs@jaid.cn
 * @date 2022/9/25 19:48
 * @detail
 */
@FeignClient("gulimall-third-party")
public interface ThridPartyFeignService {

    @GetMapping("sms/sendcode")
    R sendCode(@RequestParam("phone") String phone, @RequestParam("code") String code);

}
